package com.pg.agent.engine.app.controller;

import com.alibaba.fastjson.JSON;
import com.pg.agent.engine.client.common.AgentConstant;
import com.pg.agent.engine.client.model.SessionObject;
import com.pg.agent.engine.service.common.cache.SessionManager;
import com.pg.agent.engine.service.service.SopInitService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;



/**
 * @author huhuaping
 */
@Slf4j
@RestController
public class TestController {

    @Autowired
    private SopInitService sopInitService;

    @GetMapping("test")
    public String test(String data){

        log.info("receive data ={}",data);
        return data;
    };
}
